package io.mft.api.domain;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.mft.commons.function.datasource.DatasourceType;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Builder
@JsonInclude(Include.NON_DEFAULT)
public class Datasource implements Serializable{
	 
	        /**
	 * @说明：TODO
	 * @字段名称 serialVersionUID
	        */  
	    
	private static final long serialVersionUID = -4818424703235911156L;
	@JsonIgnore
	private int id;
	private String name;
	@JsonInclude(Include.NON_NULL) 
	private DatasourceType type;
	private String key;
}
